/*
 * @Author: RAY_HUI 1541917867@qq.com
 * @Date: 2025-07-21 17:05:30
 * @LastEditors: RAY_HUI 1541917867@qq.com
 * @LastEditTime: 2025-10-04 15:56:51
 * @FilePath: \website-reconstruction---vue\src\api\xyybackend\getVoList.js
 * @Description:
 *
 * Copyright (c) 2025 by ${git_name_email}, All Rights Reserved.
 */
import request from '@/utils/request'

export const getCarouselVoTranslateListByLang = (query) => {
  return request({
    url: '/vo/get-carousel-vo-translate-list-by-lang',
    method: 'get',
    params: query,
  })
}

export function getHeaderVoTranslatelist(query) {
  return request({
    url: '/vo/get-header-vo-translate-list',
    method: 'get',
    params: query,
  })
}

export function getPartContentVoTranslatelist(query) {
  return request({
    url: '/vo/get-part-content-translate-vo-list',
    method: 'get',
    params: query,
  })
}
export function getContactVolist(query) {
  return request({
    url: '/vo/get-part-contact-list-by-ids',
    method: 'get',
    params: query,
  })
}
export function getProductTypeNum(query) {
  return request({
    url: '/vo/product-type-num',
    method: 'get',
    params: query,
  })
}

export function getFooterTitleList(query) {
  return request({
    url: '/vo/get-footer-item-translate-list',
    method: 'get',
    params: query,
  })
}

export const getProductNameAndImage = (query) => {
  return request({
    url: '/vo/get-product-name-image-vo-list',
    method: 'get',
    params: query,
  })
}

export const getProdutByLangAndType = (query) => {
  return request({
    url: '/vo/get-product-name-image-vo-by-type-or-brand',
    method: 'get',
    params: query,
  })
}

export const getSpecificationSheetList = (query) => {
  return request({
    url: '/vo/specification-sheet-list',
    method: 'get',
    params: query,
  })
}

export const getContactInfoListByLang = (query) => {
  return request({
    url: '/vo/select-contact-info-vo-list',
    method: 'get',
    params: query,
  })
}

//根据id 获取单独的partTitle
export const getPartTitleByIdAndLang = (query) => {
  return request({
    url: '/vo/select-part-title-vo-by-id-lang',
    method: 'get',
    params: query,
  })
}

export const getFormFieldList = (query) => {
  return request({
    url: '/vo/select-form-field-vo-list',
    method: 'get',
    params: query,
  })
}
export const getBrandNameById = (query) => {
  return request({
    url: '/vo/select-brandName-by-id',
    method: 'get',
    params: query,
  })
}
export const judgeDownloadPermisson = (query) => {
  return request({
    url: '/vo/check-download-permission',
    method: 'get',
    params: query,
  })
}
